@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './statistics.scss';
@import './media-card.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

#app {
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a:focus, a:active {
  outline: none;
}

a, a:focus, a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }

}

// main-container global css
.app-container {
  padding: 20px;
}

// reset css
.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.p10 {
  padding: 10px;
}

.p30 {
  padding: 30px;
}

.pt10 {
  padding-top: 10px;
}

.pl20 {
  padding-left: 20px;
}

.mt1 {
  margin-top: 1px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mt60 {
  margin-top: 60px;
}

.mt90 {
  margin-top: 90px;
}

.mt-10 {
  margin-top: -10px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr20 {
  margin-right: 20px;
}

.mb1 {
  margin-bottom: 1px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb100 {
  margin-bottom: 100px;
}

.ml20 {
  margin-left: 20px;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

// button styles
.btn-block {
  display: block;
  width: 100%;
}

.filter-container {
  padding-bottom: 10px;

  .el-form-item {
    margin-bottom: 10px;
  }

}

.text-primary {
  color: #ec7644;
}

.text-warning {
  color: #e6a23c;
}

.text-danger {
  color: #f56c6c;
}

.text-success {
  color: #67c23a;
}

.el-step__head.is-process, .el-step__title.is-process {
  color: #ec7644;
}

.el-tag {
  margin: 4px;
}

.edui-default {
  line-height: normal;
}

.thumb-img-list {
  padding: 0;
  margin: 0;
  list-style-type: none;

  .item {
    display: inline-block;
    position: relative;
    height: 150px;
    padding: 4px;
    border: 1px solid rgba(#ec7644, .5);
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(#000, .1);

    .img {
      height: 100%;
      vertical-align: top;
    }

    .close-btn {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 16px;
      height: 16px;
      line-height: 16px;
      border-radius: 100%;
      text-align: center;
      color: #000;
      background-color: rgba(#fff, .8);
      cursor: pointer;
    }

  }

}

.form-tips {
  line-height: normal;
  font-size: 12px;
  // color: -$text-warning;
}

path {
  fill: inherit !important;
}

td .cell .el-button {
  margin: 4px;
}

.card-header {
  .title {
    margin: 0;
    padding: 0;
    font-size: 14px;
  }

  .tips {
    font-size: 12px;
  }

  .btn {
    padding: 0;
  }

}

.el-form--label-top .el-form-item__label {
  padding-bottom: 0;
}

.el-table__body a:hover {
  text-decoration: underline;
  color: #ec7644;
}

.card-wrapper {
  line-height: 40px;
  font-size: 14px;
  color: #606266;

  .el-divider--horizontal {
    margin: 8px 0;
  }

  .filter-container .el-form-item {
    margin-bottom: 0;
  }

  p {
    margin: 0;
  }

  a:hover {
    text-decoration: underline;
    color: #ec7644;
  }

}

.el-table td, .el-table th {
  padding: 6px 0;
}

.el-table td .avatar,
.el-table td audio,
.el-table td video {
  display: inline-block;
  vertical-align: middle;
}

.el-table__expanded-cell[class*=cell] {
  padding: 6px 8px 6px 58px;

  .table-expand-row {
    padding: 4px 0;
  }

}

.link-list li a:hover {
  text-decoration: underline;
  color: #ec7644;
}

.drag-upload-wrapper {
  line-height: normal;
}

.user-info-wrapper {
  .avatar {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
  }
}
